{if _full}
<div style="${gencard_style}" class="${gencard_class} hcard" id="iid_${_iid}">
	{if image_uri}
	<img style="float: right;" src="${image_uri}" alt="${_full}" class="photo" />
	{/if}
	<h4>
		{if _full == org}
			<span class="fn org">${_full}</span>
		{else}
			<span class="fn">${_full}</span>
			{if org}
			- <span class="org">${org}</span></span>
			{/if}
		{/if}
	</h4>
	{if street_address || locality || region || postal_code || country_name }
	<h5>
	Address
	</h5>
	<div class="adr">
		{if street_address}
		<div class="_section">
			<span class="street-address">${street_address}</span>
		</div>
		{/if}
		{if locality || region || postal_code }
		<div class="_section">
			{if locality }
			<span class="locality">${locality}</span>{if region },{/if}
			{/if}
			{if region }
			<span class="region">${region}</span>
			{/if}
			{if postal_code }
			<span class="postal-code">${postal_code}</span>
			{/if}
		</div>
		{/if}
		{if country_name }
		<div class="_section">
			<span class="country-name">${country_name}</span>
		</div>
		{/if}
	</div>
	{/if}
	{if email || tel || fax || mobile || home_uri || aim_id || yim_id || jabber_id }
	<h5>
	Contact
	</h5>
	<ul>
		{if email}
		<li>
			<a href="${email}" class="url">${email}</a>
		</li>
		{/if}
		{if tel}
		<li>
			<a href="${tel}" class="url">${tel}</a> (telephone)
		</li>
		{/if}
		{if mobile}
		<li>
			<a href="${mobile}" class="tel mobile">${mobile}</a> (cell)
		</li>
		{/if}
		{if fax}
		<li>
			<a href="${fax}" class="tel fax">${fax}</a> (fax)
		</li>
		{/if}
		{if home_uri}
		<li>
			<a href="${home_uri}" class="url">${home_uri}</a>
		</li>
		{/if}
		{if jabber_id}
		<li>
			<a href="xmpp:${jabber_id}" class="url">${jabber_id}</a> (jabber)
		</li>
		{/if}
		{if yim_id}
		<li>
			<a href="xmpp:${yim_id}" class="url">${yim_id}</a> (YIM)
		</li>
		{/if}
		{if aim_id}
		<li>
			<a href="xmpp:${aim_id}" class="url">${aim_id}</a> (AIM)
		</li>
		{/if}
	</ul>
	{/if}
	{if image_uri}
	<div style="clear: both"></div>
	{/if}
</div>
{/if}

